package com.example.otto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "worker")
public class Worker {
    @TableId(type = IdType.AUTO)
    private String id;
    private String username;
    private String password;
    private String name;
    private String phone;
    private String task_num;
    private String state;
}
